package com.zy.dao.bs;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.zy.dao.base.BaseDao;
import com.zy.entity.bs.CustomerClubApply;
import com.zy.pojo.query.bs.CustomerClubApplyQuery;

public interface CustomerClubApplyDao extends BaseDao<CustomerClubApply> {

	List<CustomerClubApply> listCustomerClubApply(@Param("customerClubApplyQuery") CustomerClubApplyQuery customerClubApplyQuery, @Param("start") Integer start, @Param("limit") Integer limit);

	long countCustomerClubApply(@Param("customerClubApplyQuery") CustomerClubApplyQuery customerClubApplyQuery);

	List<CustomerClubApply> getCurrentClubApplyForCustomer(@Param("customerId") long customerId);

}